package com.yanqu.road.server.manager.cricket.entity;


import com.yanqu.road.dao.dbV2.BaseEntity;
import com.yanqu.road.logic.model.cricket.CricketUserBaseInfo;
import com.yanqu.road.pb.cricket.CricketProto;

import java.util.ArrayList;
import java.util.List;

public class DbCricketHotBattleLog extends BaseEntity {

    public static DbCricketHotBattleLog getInstance() {
        return new DbCricketHotBattleLog();
    }

    private long battleLogId;
    private long userId;

    private long userId1;


    /**
     * 类型，0攻击，1防守
     */
    private int battleType;

    private String score = "";

    private List<CricketUserBaseInfo> userBaseInfoList = new ArrayList<>();


    private CricketProto.CricketBattleLog cricketBattleLog;


    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getUserId1() {
        return userId1;
    }

    public void setUserId1(long userId1) {
        this.userId1 = userId1;
    }

    public List<CricketUserBaseInfo> getUserBaseInfoList() {
        return userBaseInfoList;
    }

    public void setUserBaseInfoList(List<CricketUserBaseInfo> userBaseInfoList) {
        this.userBaseInfoList = userBaseInfoList;
    }

    public CricketProto.CricketBattleLog getCricketBattleLog() {
        return cricketBattleLog;
    }

    public void setCricketBattleLog(CricketProto.CricketBattleLog cricketBattleLog) {
        this.cricketBattleLog = cricketBattleLog;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public long getBattleLogId() {
        return battleLogId;
    }

    public void setBattleLogId(long battleLogId) {
        this.battleLogId = battleLogId;
    }

    public int getBattleType() {
        return battleType;
    }

    public void setBattleType(int battleType) {
        this.battleType = battleType;
    }
}
